#define _CRT_SECURE_NO_WARNINGS 1
#include<iostream>
#include<string>
using namespace std;

#if 0
class Exception
{
public:
	Exception(const string& errmsg, int id)
		:_errmsg(errmsg)
		, _id(id)
	{}
	virtual string what()const
	{
		return _errmsg;
	}
protected:
	string _errmsg;
	int _id;
};
class CacheException :public Exception
{
public:
	CacheException(const string& errmsg, int id)
		:Exception(errmsg, id)
	{}
	virtual string what()const
	{
		string str = "CacheException";
		str += _errmsg;
		return str;
	}
};
int main()
{
	return 0;
}
#endif

 